﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WinCourseControls
{
    public partial class FrmUserControl : Form
    {
        public FrmUserControl()
        {
            InitializeComponent();
        }

        /// <summary>
        /// 文本框内容改变事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void editTextBox1_EditTextChanged(object sender, EventArgs e)
        {
            MessageBox.Show(editTextBox1.EditText);
        }

       
        private void FrmUserControl_Load(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("bbb");

        }

        private void myButton1_BtnClick(object sender, EventArgs e)
        {
            MessageBox.Show("aaaa");
        }
    }
}
